package com.ahao.aggregation;

import android.content.Intent;
import android.content.res.Configuration;
import android.os.Bundle;
import android.view.KeyEvent;

import com.ahao.abstraction.ILifeCycle;
import com.ahao.aggregation.utils.LogUtils;

public class DefaultLifeCycle implements ILifeCycle {
    @Override
    public void onStart() {
        LogUtils.error("渠道未注册时,调用了获取渠道的生命周期方法：onStart"  );
    }

    @Override
    public void onPause() {
        LogUtils.error("渠道未注册时,调用了获取渠道的生命周期方法：onPause"  );

    }

    @Override
    public void onResume() {
        LogUtils.error("渠道未注册时,调用了获取渠道的生命周期方法：onResume"  );

    }

    @Override
    public void onNewIntent(Intent intent) {
        LogUtils.error("渠道未注册时,调用了获取渠道的生命周期方法：onNewIntent"  );
    }

    @Override
    public void onStop() {
        LogUtils.error("渠道未注册时,调用了获取渠道的生命周期方法：onStop"  );

    }

    @Override
    public void onDestroy() {
        LogUtils.error("渠道未注册时,调用了获取渠道的生命周期方法：onDestroy"  );

    }

    @Override
    public void onRestart() {
        LogUtils.error("渠道未注册时,调用了获取渠道的生命周期方法：onRestart"  );

    }

    @Override
    public void onConfigurationChanged(Configuration newConfig) {
        LogUtils.error("渠道未注册时,调用了获取渠道的生命周期方法：onConfigurationChanged"  );

    }

    @Override
    public void onSaveInstanceState(Bundle outState) {
        LogUtils.error("渠道未注册时,调用了获取渠道的生命周期方法：onSaveInstanceState"  );

    }

    @Override
    public void onActivityResult(int requestCode, int resultCode, Intent data) {
        LogUtils.error("渠道未注册时,调用了获取渠道的生命周期方法：onActivityResult"  );

    }

    @Override
    public void onBackPressed() {
        LogUtils.error("渠道未注册时,调用了获取渠道的生命周期方法：onBackPressed"  );

    }

    @Override
    public boolean onKeyDown(int keyCode, KeyEvent event) {
        LogUtils.error("渠道未注册时,调用了获取渠道的生命周期方法：onKeyDown"  );
        return false;
    }

    @Override
    public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults) {
        LogUtils.error("渠道未注册时,调用了获取渠道的生命周期方法：onRequestPermissionsResult"  );

    }
}
